<style>
.form-no-space .layui-form-item .layui-inline {
  margin-right: 0;
}
</style>

<div id="mProjects" class="layui-fluid">
  <div class="layui-card">
    <div class="layui-card-body">

      <!-- 顶部工具栏 -->
      <div id="fProjects" class="layui-form toolbar">
        <div class="layui-form-item text-right">
          <div class="layui-inline text-left pull-left">
            <select>
              <option value="searchPhrase">通用查询</option>
              <option value="projectName">项目名称</option>
              <option value="projectNo">项目编号</option>
              <option value="projectManager">项目经理</option>
              <option value="productManager">产品经理</option>
              <option value="projectStartDateT_begin">项目开始时间</option>
              <option value="projectDescribe">项目描述</option>
            </select>
          </div>
          <div class="layui-inline pull-left">
            <input class="layui-input" type="text">
          </div>
          <div class="layui-inline pull-left">
            <button id="btnSearch" class="layui-btn">
              <span>查询</span>
            </button>
          </div>
          <div class="layui-inline pull-left">
            <button class="layui-btn layui-btn-primary">
              <span>重置</span>
            </button>
          </div>
          <div class="layui-inline">
            <button id="btnAdd" class="layui-btn icon-btn">
              <i class="layui-icon">&#xe654;</i><span>录入</span>
            </button>
          </div>
        </div>
      </div>
      <!-- 顶部工具栏结束 -->

      <!-- 数据表格 -->
      <table id="table" class="layui-table"></table>
      <!-- 数据表格结束 -->

      <!-- 表单弹窗 -->
      <script id="popup" class="popup-form" type="text/html">
        <form id="fNewProject" class="layui-form form-no-space">
          <div class="layui-fluid">
            <div class="layui-form-item layui-row">
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectName">项目名称</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectName" lay-verify="required">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectNo">项目编号</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectNo">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="testId">所属项目</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="testId">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectManager">项目经理</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectManager">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectChief">项目总监</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectChief">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectTestPlanner">试验策划</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectTestPlanner">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectBudgeter">项目预算员</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectBudgeter">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="productManager">产品经理</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="productManager">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectStartDateT">开始时间</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectStartDateT">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="projectManager">项目跟踪员</label>
                <div class="layui-input-block">
                  <input class="layui-input" type="text" name="projectManager">
                </div>
              </div>

              <!-- 项目描述用textarea -->

              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="PM">PM</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="PM">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="PP">PP</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="PP">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="PD">PD</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="PD">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="PF">PF</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="PF">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="KE">KE</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="KE">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="DE">DE</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="DE">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="DF">DF</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="DF">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="BF">BF</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="BF">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="LF">LF</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="LF">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="VFF">VFF</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="VFF">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="PVS">PVS</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="PVS">
                </div>
              </div>
              <div class="layui-inline layui-col-md6">
                <label class="layui-form-label" for="OS">OS</label>
                <div class="layui-input-block">
                  <input class="layui-input date-icon layui-date" type="text" name="OS">
                </div>
              </div>

              <input id="btnSubmit" type="button" lay-submit value="提交">
            </div>
          </div>
        </form>
      </script>
      <!-- 表单弹窗结束 -->

      <!-- 表格操作列 -->
      <script type="text/html" id="tableBarUser">
        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
      </script>

    </div>
  </div>
</div>

<script src="../../assets/js/basic-data/projects.js"></script>
